import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [{
    path: '/',
    redirect: '/item'
  },
  {
    path: '/item',
    name: 'item',
    component: () => import('../views/check/ItemView.vue')
  },
  {
    path: '/customer',
    name: 'customer',
    component: () => import('../views/customer/CustomerView.vue')
  },
  {
    path: '/reportCustomer',
    name: 'reportCustomer',
    component: () => import('../views/report/ReportCustomerView.vue')
  }
]

const router = new VueRouter({
  routes
})

export default router